<!-- 110报警呈批单（指挥）、110下发列表、报警处理---详情  -->
<template>
  <el-row class="all-wrap">
    <dg-scrollbar ref="scrollbar" class="all-wrap__scrollbar">
      <!-- 基本信息 -->
      <base-info ref="baseInfo"></base-info>
      <!-- 领导批示 -->
      <leader-comment class="scroll-item" v-if="isShow"></leader-comment>
      <!-- 签收反馈 -->
      <SignFeedback class="scroll-item" v-if="isShow" />
    </dg-scrollbar>
  </el-row>
</template>

<script>
import BaseInfo from '@/pages/PoliceInformation/approval/detail/baseinfo/index';
import LeaderComment from '@/pages/ExterCommun/detail/components/leader-comment';
import SignFeedback from '@/pages/ExterCommun/detail/components/SignFeedback';

export default {
  name: 'police-approval-detail',
  components: {
    BaseInfo,
    LeaderComment,
    SignFeedback
  },
  data() {
    return {
      // 只有110报警呈批单（指挥）才显示领导批示、签收反馈
        isShow: this.$route.params.zlly
    };
  },
  computed: {},
  methods: {}
};
</script>

<style lang="scss" scoped>
.all-wrap {
  padding-left: 2rem;
  // width: 87.5rem;
  max-width: 1400px;
  height: 75vh;
  box-sizing: content-box;
  background-color: #fff;

  &__scrollbar {
    /deep/.el-scrollbar__view {
      padding-right: 30px;
    }
  }
}
</style>
